package com.bida.mapper;

import com.bida.domain.dto.GoodsSalesDTO;
import com.bida.domain.po.OrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 订单明细表 Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2024-09-08
 */
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    List<GoodsSalesDTO> getTop10Infos(LocalDateTime begin, LocalDateTime end);
}
